<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../webpage/assets/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
<<<<<<< .mine
   /*      var data = {
            id :"2132"
=======
        var data = {
        		"orderDBList": [
        			{
                        "sequence_no": "E537106825",
                        "order_date": "2017-04-13 16:52:54",
                        "ticket_totalnum": 2,
                        "ticket_price_all": 29900,
                        "cancel_flag": "Y",
                        "resign_flag": "4",
                        "return_flag": "N",
                        "print_eticket_flag": "N",
                        "pay_flag": "Y",
                        "pay_resign_flag": "N",
                        "confirm_flag": "N",
                        "tickets": [
                            {
                                "stationTrainDTO": {
                                    "trainDTO": {},
                                    "station_train_code": "G1135",
                                    "from_station_telecode": "CWQ",
                                    "from_station_name": "长沙南",
                                    "start_time": "1970-01-01 19:59:00",
                                    "to_station_telecode": "ICQ",
                                    "to_station_name": "郴州西",
                                    "arrive_time": "1970-01-01 21:18:00",
                                    "distance": "330"
                                },
                                "passengerDTO": {
                                    "passenger_name": "孙宇",
                                    "passenger_id_type_code": "1",
                                    "passenger_id_type_name": "二代身份证",
                                    "passenger_id_no": "23080519931009003X",
                                    "total_times": "98"
                                },
                                "ticket_no": "E537106825102017C",
                                "sequence_no": "E537106825",
                                "batch_no": "1",
                                "train_date": "2017-04-13 00:00:00",
                                "coach_no": "02",
                                "coach_name": "02",
                                "seat_no": "017C",
                                "seat_name": "17C号",
                                "seat_flag": "0",
                                "seat_type_code": "O",
                                "seat_type_name": "二等座",
                                "ticket_type_code": "1",
                                "ticket_type_name": "成人票",
                                "reserve_time": "2017-04-13 16:52:54",
                                "limit_time": "2017-04-13 16:52:54",
                                "lose_time": "2017-04-13 17:22:58",
                                "pay_limit_time": "2017-04-13 17:22:58",
                                "ticket_price": 14950,
                                "print_eticket_flag": "N",
                                "resign_flag": "4",
                                "return_flag": "N",
                                "confirm_flag": "N",
                                "pay_mode_code": "Y",
                                "ticket_status_code": "i",
                                "ticket_status_name": "待支付",
                                "cancel_flag": "Y",
                                "amount_char": 0,
                                "trade_mode": "",
                                "start_train_date_page": "2017-04-13 19:59",
                                "str_ticket_price_page": "149.5",
                                "come_go_traveller_ticket_page": "N",
                                "return_deliver_flag": "N",
                                "deliver_fee_char": "",
                                "is_need_alert_flag": false,
                                "is_deliver": "N",
                                "dynamicProp": "",
                                "fee_char": "",
                                "insure_query_no": ""
                            },
                            {
                                "stationTrainDTO": {
                                    "trainDTO": {},
                                    "station_train_code": "G1135",
                                    "from_station_telecode": "CWQ",
                                    "from_station_name": "长沙南",
                                    "start_time": "1970-01-01 19:59:00",
                                    "to_station_telecode": "ICQ",
                                    "to_station_name": "郴州西",
                                    "arrive_time": "1970-01-01 21:18:00",
                                    "distance": "330"
                                },
                                "passengerDTO": {
                                    "passenger_name": "胡铄",
                                    "passenger_id_type_code": "1",
                                    "passenger_id_type_name": "二代身份证",
                                    "passenger_id_no": "430122199602043222",
                                    "total_times": "98"
                                },
                                "ticket_no": "E537106825102017B",
                                "sequence_no": "E537106825",
                                "batch_no": "1",
                                "train_date": "2017-04-13 00:00:00",
                                "coach_no": "02",
                                "coach_name": "02",
                                "seat_no": "017B",
                                "seat_name": "17B号",
                                "seat_flag": "0",
                                "seat_type_code": "O",
                                "seat_type_name": "二等座",
                                "ticket_type_code": "1",
                                "ticket_type_name": "成人票",
                                "reserve_time": "2017-04-13 16:52:54",
                                "limit_time": "2017-04-13 16:52:54",
                                "lose_time": "2017-04-13 17:22:58",
                                "pay_limit_time": "2017-04-13 17:22:58",
                                "ticket_price": 14950,
                                "print_eticket_flag": "N",
                                "resign_flag": "4",
                                "return_flag": "N",
                                "confirm_flag": "N",
                                "pay_mode_code": "Y",
                                "ticket_status_code": "i",
                                "ticket_status_name": "待支付",
                                "cancel_flag": "Y",
                                "amount_char": 0,
                                "trade_mode": "",
                                "start_train_date_page": "2017-04-13 19:59",
                                "str_ticket_price_page": "149.5",
                                "come_go_traveller_ticket_page": "N",
                                "return_deliver_flag": "N",
                                "deliver_fee_char": "",
                                "is_need_alert_flag": false,
                                "is_deliver": "N",
                                "dynamicProp": "",
                                "fee_char": "",
                                "insure_query_no": ""
                            }
                        ],
                        "reserve_flag_query": "p",
                        "if_show_resigning_info": "N",
                        "recordCount": "1",
                        "isNeedSendMailAndMsg": "N",
                        "array_passser_name_page": [
                            "孙宇",
                            "胡铄"
                        ],
                        "from_station_name_page": [
                            "长沙南"
                        ],
                        "to_station_name_page": [
                            "郴州西"
                        ],
                        "start_train_date_page": "2017-04-13 19:59",
                        "start_time_page": "19:59",
                        "arrive_time_page": "21:18",
                        "train_code_page": "G1135",
                        "ticket_total_price_page": "299.0",
                        "come_go_traveller_order_page": "N",
                        "canOffLinePay": "N",
                        "if_deliver": "N",
                        "insure_query_no": ""
                    }
                ],
                "to_page": "db",
                "userId": "123"
>>>>>>> .r6613
        };
        $.ajax({
            type: "POST",
            url: 'http://localhost:8090/RailwayService/ticketOrder/createBookOrder',
            contentType: "application/json",
            data: JSON.stringify(data),
            error: function (request) {
                debugger;
                alert(request);
            },
            success: function (data) {
                // debugger;
                alert(data);
            }
<<<<<<< .mine
        }); */
=======
        });
>>>>>>> .r6613
    </script>
</head>
<body>
<form enctype="multipart/form-data" method="post" action="/merchant/updateImage">
    文件<input type="file" name="imageFile" /><br/>
    商户ID<input type="text" name="merchantId" />
    <input type="submit" value="提交"/>
</form>
</body>
</html>